package com.weixing.mall.provider.model.enums;

import com.weixing.mall.base.enums.IBaseEnum;
import lombok.NoArgsConstructor;

/**
 * @Author wx
 * @Date 2019/12/20 15:03
 * @Version 1.0
 */
@NoArgsConstructor
public enum GoodsFromEnum implements IBaseEnum<Integer> {
    ERP(1,"ERP同步"),
    EXCEL(2,"批量新增"),
    MANUAL(3,"手动新增");

    private int value;
    private String desp;

    GoodsFromEnum(int value, String desp) {
        this.value = value;
        this.desp = desp;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    @Override
    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
